package com.itheima;

import com.itheima.service.CheckItemService;
import com.itheima.untils.FreemarkUtils;
import org.junit.Test;
import org.junit.runner.RunWith;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.test.context.ContextConfiguration;
import org.springframework.test.context.junit4.SpringJUnit4ClassRunner;

@ContextConfiguration(locations = {"classpath:spring-dao.xml","classpath:spring-service.xml","classpath:spring-tx.xml"})
@RunWith(SpringJUnit4ClassRunner.class)
public class test {
    @Autowired
    private CheckItemService checkItemService;
    @Test
    public void test1(){
        FreemarkUtils.generateMobileStaticHtml("aa");
    }
}
